home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Misc C Library Procedures Misc
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- Misc_InvokeEditor - Invoke an editor for a user
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<lliibbcc..hh>>
-
- int
- MMiisscc__IInnvvookkeeEEddiittoorr(_f_i_l_e)
-
- AARRGGUUMMEENNTTSS
- char *_f_i_l_e (in) Name of the file to edit.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- If a program needs to have the user edit a file, it can sim-
- ply call MMiisscc__IInnvvookkeeEEddiittoorr with the name of the file to
- edit. The user's editor (as defined by the EDITOR environ-
- ment variable, with vvii being the default) will be invoked.
- MMiisscc__IInnvvookkeeEEddiittoorr returns the exit status from the editor.
- For setuid and setgid programs, the editor is invoked with
- the user's real (not effective) user and group IDs.
-
-
- KKEEYYWWOORRDDSS
- edit, file
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: June 4, 1991 1
-
-
-
-